From 62aefde13f76c058e699e106c71de184a758a78d Mon Sep 17 00:00:00 2001 From: robertlipe Date: Fri, 23 Aug 2013 03:08:48 +0000 Subject: [PATCH] Minor warning cleanups for Fedora. --- gpsbabel/interpolate.cc | 6 +++--- gpsbabel/skyforce.cc | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/gpsbabel/interpolate.cc b/gpsbabel/interpolate.cc index ce02ebeac..2f9a9b35d 100644 --- a/gpsbabel/interpolate.cc +++ b/gpsbabel/interpolate.cc @@ -27,7 +27,7 @@ #define MYNAME "Interpolate filter" static char* opt_interval = NULL; -int interval = 0; +unsigned int interval = 0; static char* opt_dist = NULL; double dist = 0; static char* opt_route = NULL; @@ -60,8 +60,8 @@ interpfilt_process(void) int count = 0; int first = 0; double lat1 = 0, lon1 = 0; - int time1 = 0; - int timen; + unsigned int time1 = 0; + unsigned int timen; double distn; double curdist; double rt1, rn1, rt2, rn2; diff --git a/gpsbabel/skyforce.cc b/gpsbabel/skyforce.cc index 47a802a2a..b13a4c7da 100644 --- a/gpsbabel/skyforce.cc +++ b/gpsbabel/skyforce.cc @@ -91,7 +91,6 @@ skyforce_parse_wpt(const char* str, int* rte_num) static waypoint* skyforce_parse_trk(const char* str) { - char* cx; char buf[15]; int len; -- 2.30.2